Skip to content

Update TTS service to clarify language handling and improve tests#12

Merged
tenkus47 merged 1 commit into
developfrom
audio-for-hindi
Jul 5, 2026
Merged

Update TTS service to clarify language handling and improve tests#12
tenkus47 merged 1 commit into
developfrom
audio-for-hindi

Conversation

@tenkus47

@tenkus47 tenkus47 commented Jul 5, 2026

Copy link
Copy Markdown
Member
  • Updated API documentation for the POST /audio/generate endpoint to specify that Monlam TTS is used for Tibetan (bo) and Gemini TTS for all other languages.
  • Refactored TTS service to replace the SUPPORTED_TTS_LANGUAGES constant with MONLAM_TTS_LANGUAGE for better clarity.
  • Enhanced unit tests to verify that the correct TTS service is used based on the language provided, including a new test for Gemini TTS usage with non-Tibetan languages.

- Updated API documentation for the `POST /audio/generate` endpoint to specify that Monlam TTS is used for Tibetan (`bo`) and Gemini TTS for all other languages.
- Refactored TTS service to replace the `SUPPORTED_TTS_LANGUAGES` constant with `MONLAM_TTS_LANGUAGE` for better clarity.
- Enhanced unit tests to verify that the correct TTS service is used based on the language provided, including a new test for Gemini TTS usage with non-Tibetan languages.
@tenkus47
tenkus47 merged commit 979b94a into develop Jul 5, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant